<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

namespace api\controllers;

/**
 * Description of CaptchaController
 *
 * @author Sylar
 */
class CaptchaController extends \yii\web\Controller{
    
    
    public function actions() { 
        return [
            'get-sms' => [
                'class'     => 'yii\captcha\CaptchaAction',
                'height'    => 35,
                'width'     => 80,
                'minLength' => 4,
                'maxLength' => 4,
               // 'fixedVerifyCode' => (string)mt_rand(1000, 9999)
            ],
        ];
    }
    
    public function actionIndex() {
        die;
    }
}
